package week04.homework01MazeGame.model.item.potion;

import week04.homework01MazeGame.model.role.Player;

/**
 * @desc 魔法药水类，继承自 BasePotion
 * @author li
 */
public class ManaPotion extends BasePotion {

    private static final int MANA_POINT = 10;

    @Override
    public String getName() {
        return "魔法药水";
    }

    @Override
    public void use(Player player) {
        player.addMana(MANA_POINT);
    }

    @Override
    public String getDescription() {
        return "恢复 " + MANA_POINT + " 点魔法值";
    }
}
